package com.dwork.base.controller.entity;

import java.util.List;
import java.util.Map;

public class BaseResultObject {

	//成功解析data，验证不成功解析validataMessage, 其他信息放到message里边
	private String status;
	
	//成功调用这个属性
	private Object data;
	
	//如果需要返回Alert信息，放到这里
	private String message;
	
	//验证失败，信息放到这个属性
	private List<Map<String, String>> validateMessages;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public List<Map<String, String>> getValidateMessages() {
		return validateMessages;
	}
	public void setValidateMessages(List<Map<String, String>> validateMessages) {
		this.validateMessages = validateMessages;
	}
	
	
	
}
